require 'rubygems'
require 'hoe'

Hoe.spec 'bulletio' do
	developer('Matt Holmes', 'teganthegnome@gmail.com')
	self.readme_file   = 'README.rdoc'
	self.history_file  = 'CHANGELOG.rdoc'
	self.extra_rdoc_files  = FileList['*.rdoc']
	self.extra_dev_deps << [ 'rake-compiler', '>= 0' ]
  	self.spec_extras = { :extensions => [ 'ext/bulletio/extconf.rb' ] }

	require "rake/extensiontask"

  	Rake::ExtensionTask.new('bulletio', spec) do |ext|
		ext.lib_dir = File.join('lib', 'bulletio')
 	end
end

Rake::Task[:test].prerequisites << :compile
